﻿using System;
using System.Collections.Generic;
using System.Text;
using WebInterface;

namespace WebServices
{
    public class SimpleScopedService : ISimpleScopedService
    {
        private readonly ISimpleSingleService _simpleSingleService;

        public string Id { get;private set; }

        public SimpleScopedService(string inputId,ISimpleSingleService simpleSingleService)
        {
            Id = inputId;
            _simpleSingleService = simpleSingleService;
        }

        public string GetInproServiceString()
        {
            throw new NotImplementedException();
        }

        public string GetString()
        {
            return $"{Id}:  {_simpleSingleService.GetString()}";
        }
    }
}
